Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: prereleases #1653

Draft
wants to merge 10 commits into
base: compose-dev
Choose a base branch
from
Draft

feat: prereleases #1653

wants to merge 10 commits into from

Conversation

BenjaminHalko
Copy link
Member

@BenjaminHalko BenjaminHalko commented Jan 23, 2024

Adds pre-release support to compose builds. Won't be used until compose manager reaches the dev branch.

I have verified that it works here and here.

@BenjaminHalko BenjaminHalko added the ReVanced Manager Compose Regarding the Compose rewrite of ReVanced Manager label Jan 23, 2024
@BenjaminHalko BenjaminHalko marked this pull request as ready for review January 23, 2024 20:54
@BenjaminHalko BenjaminHalko marked this pull request as draft January 29, 2024 01:01

- name: Add hash to APK
run: mv app/build/outputs/apk/release/app-release.apk revanced-manager-${{ env.COMMIT_HASH }}.apk
run: ./gradlew assembleRelease --no-daemon -PnoProguard -Psuffix=${{ steps.get_commit_hash.outputs.hash }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is proguard disabled?

app/build.gradle.kts Show resolved Hide resolved
versionCode = 1
versionName = "0.0.1"
versionName = project.version.toString()
versionCode = (majorVersion.toInt() * 100000000) + (minorVersion.toInt() * 100000) + (patchVersion.toInt() * 100) + devVersion.toInt()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ReVanced Manager v2 will not use the versionCode calculator that v1 uses, it was a mistake

The right way is to bump by 1 for each build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ReVanced Manager Compose Regarding the Compose rewrite of ReVanced Manager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants